package com.qlu.syq.service.admin;
/**
 * 入住service
 */
import java.util.List;
import java.util.Map;

import com.qlu.syq.entity.BookOrder;
import org.springframework.stereotype.Service;

import com.qlu.syq.entity.admin.Checkin;

@Service
public interface CheckinService {
	int add(Checkin checkin, Long bookOrder);
	int edit(Checkin checkin);
	int delete(Long id);
	List<Checkin> findList(Map<String, Object> queryMap);
	Integer getTotal(Map<String, Object> queryMap);
	Checkin find(Long id);
	List<Map> getStatsByMonth();
	List<Map> getStatsByDay();

	int checkout(Long checkId);
}
